package bookExercise;

public class A10ConstractorsDemo {
    public A10ConstractorsDemo(){
        System.out.println("这是无参构造");
    }
    public A10ConstractorsDemo(int i){
        System.out.println("这是有参构造");
    }
    public static void main(String[] args) {
        A10ConstructorsInterface a =A10ConstractorsDemo::new;
        A10ConstractorsDemo b=a.action();


    }
}
